﻿using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
using Ln.Audit.Domain;
using Ln.Audit.Domain.Repositories;
using Ln.Audit.SqlSugarCore.Repositories;
using Ln.Fram.SqlSugarCore;

namespace Ln.Audit.SqlSugarCore;

[DependsOn(typeof(LnAuditDomainModule), typeof(LnFramSqlSugarCoreModule))]
public class LnAuditSqlSugarCoreModule : AbpModule
{
	public override void ConfigureServices(ServiceConfigurationContext context)
	{
		context.Services.AddTransient<IAuditLogRepository, SqlSugarCoreAuditLogRepository>();
	}
}
